// var str = '..bdcdsada'
// var re = /\w/
// console.log(re.test(str));

let str = '123'
let num1 = Number(str)
let num2 = parseInt(str)
let num3 = str - 0

console.log(typeof(num1));
console.log(typeof(num2));
console.log(typeof(num3));
console.log(typeof(str));